<?xml version="1.0" encoding="ISO-8859-1" ?>
<xs:schema xmlns:xs="http://www.w3.org/2001/XMLSchema">

<xs:element name="map">
  <xs:complexType>
    	<xs:sequence>
    		<xs:element name="layers">
    			<xs:complexType>
    			
    			
    				<xs:sequence>
    					<xs:element name="layer" maxOccurs="unbounded">
    						<xs:complexType>
    							  <xs:attribute name="opacity" type="xs:integer" use="required"/>
    							  <xs:attribute name="type" type="xs:string" use="required"/>
    							  <xs:attribute name="source" type="xs:string" use="required"/>
    							  <xs:attribute name="name" type="xs:string" use="required"/>
    							  <xs:attribute name="longtitude" type="xs:decimal" use="required"/>
    							  <xs:attribute name="latitude" type="xs:decimal" use="required"/>
    							  <xs:attribute name="zoom" type="xs:integer" use="required"/>
    						</xs:complexType>
    					</xs:element>		
    				</xs:sequence>
    			</xs:complexType>
    		</xs:element>
    	</xs:sequence>
  <xs:attribute name="desc" type="xs:string"/>
<xs:attribute name="name" type="xs:string" use="required"/>
<xs:attribute name="owner" type="xs:string"/>
<xs:attribute name="longtitude" type="xs:decimal" use="required"/>
<xs:attribute name="latitude" type="xs:decimal" use="required"/>
<xs:attribute name="zoom" type="xs:integer" use="required"/>
<xs:attribute name="created" type="xs:dateTime" />
<xs:attribute name="saved" type="xs:dateTime"/>
  </xs:complexType>
</xs:element>

</xs:schema>

